package com.guit.hrms.service;

import com.guit.hrms.dto.interview.InterviewDTO;
import com.guit.hrms.dto.interview.InterviewSituationDTO;
import com.guit.hrms.dto.interview.UpdateInterviewDTO;
import com.guit.hrms.po.utilsPO.PageBean;

import java.time.LocalDateTime;
import java.util.List;

public interface InterviewService {
    Integer addInterview(InterviewDTO interviewDTO);

    PageBean getPersonalInterviews(Integer page, Integer pageSize, LocalDateTime startTime, LocalDateTime endTime, String employeeId);

    PageBean getAllInterviews(Integer page, Integer pageSize, LocalDateTime startTime, LocalDateTime endTime);

    Integer updateInterview(UpdateInterviewDTO updateInterviewDTO);

    Integer deleteInterview(List<Integer> interviewIds);

    PageBean getInterviewSituation(Integer page, Integer pageSize, Integer interviewId, Integer intervieweeId);

    Integer updateInterviewSituation(InterviewSituationDTO interviewSituationDTO);

    Integer interviewStartOrEnd(Integer interviewId, Integer startOrEnd);

    PageBean findAllActiveInterviews(int page, int pageSize);

    void sendInterviewEmail(Integer id);
}
